import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'
import '@/styles/common.less'
// 全局引入
// import Skeleton from '@/components/Skeleton'
// vue2里  vue.use()
// 导入组件的注册   --- 插件的形式
import ComponentsPlugin from '@/components/index'
// 导入指令的注册
import DirectivePlugin from '@/directives/index'
const app = createApp(App)
// app.component(Skeleton.name, Skeleton)
// vue3 使用插件都是use()
app.use(ComponentsPlugin).use(DirectivePlugin).use(store).use(router).mount('#app')
